﻿using Soft.Data;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Soft.Service
{

    /// <summary>
    /// 根据模块 将DbConnection进行分组
    /// </summary>
    public sealed class DBConnectionGroups : List<DBConnectionGroup>
    {

        public DBConnectionGroup this[MesMethodFlag flag]
        {
            get
            {
                return base.Find((DBConnectionGroup e) => e.MethodFlag == flag);
            }
        }
    }
}
